﻿// 文件使用MiniExcel源码， 使用时需遵循其 Apache License 2.0
// 修改摘要通知： 删除异步、Task等net2.0中不支持的内容，替换原先C#自带的zip处理方式，改用yacomp 进行解压缩。
using System;
using ExcelConfig.Attributes;
using System.Globalization;

namespace ExcelConfig
{
    internal interface IConfiguration { }
    internal abstract class Configuration : IConfiguration
    {
        public CultureInfo Culture { get; set; } = CultureInfo.InvariantCulture;
        internal DynamicExcelColumn[] DynamicColumns { get; set; }
        public int BufferSize { get; set; } = 1024 * 512;
        public bool FastMode { get; set; } = false;
        
        /// <summary>
        ///     When exporting using DataReader, the data not in DynamicColumn will be filtered.
        /// </summary>
        public bool DynamicColumnFirst { get; set; } = false;
    }
}
